package com.devops.dto;

import lombok.Data;
import java.time.LocalDateTime;

/**
 * 用户信息DTO（不包含密码）
 */
@Data
public class UserInfo {
    private Integer id;
    private String username;
    private String email;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    
    public UserInfo() {}
    
    public UserInfo(Integer id, String username, String email, LocalDateTime createdAt, LocalDateTime updatedAt) {
        this.id = id;
        this.username = username;
        this.email = email;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }
}
